inspector: Make the recorder node list use a ListView
authorBenjamin Otte <otte@redhat.com>
Mon, 14 Oct 2019 04:50:40 +0000 (06:50 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 May 2020 23:26:45 +0000 (19:26 -0400)
commitd7b5966fa7343d47b40b9b16989a07bc7b24315a
tree710a699d3bbb6680a2c01d1f0322d6c5551dd37e
parentbb44120ae34365b273a0da7545819479d90a02b7
inspector: Make the recorder node list use a ListView

It's quite a bit faster now, but the code is also a bit more awkward.

Pain points:

- GtkTreeListModel cannot be created in UI files because it needs
  a CreateModelFunc.
  Using a signal for this doesn't work because autoexpand wants to
  expand the model before the signal handler is connected.

- The list item factory usage is still awkward. It's bearable here
  because the list items are very simple, but still.
gtk/gtktreeexpander.c
gtk/inspector/recorder.c
gtk/inspector/recorder.ui